package com.itheima.reggie.service;

import com.itheima.reggie.common.ResultInfo;
import com.itheima.reggie.domain.Employee;

import java.util.List;

//员工管理模块
public interface EmployeeService {


    //员工登录
    ResultInfo login(String username, String password);

    //列表查询
    List<Employee> findList(String name);
    //员工添加
    void save(Employee employee);
    //回显成员
    Employee findById(long id);
    //修改成员
    void updateById(Employee employee);
}
